package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.domain.SLearningProgress;
import com.zhentao.result.Result;
import com.zhentao.service.SLearningProgressService;
import com.zhentao.mapper.SLearningProgressMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author 86150
* @description 针对表【s_learning_progress】的数据库操作Service实现
* @createDate 2024-07-23 11:12:55
*/
@Service
public class SLearningProgressServiceImpl extends ServiceImpl<SLearningProgressMapper, SLearningProgress>
    implements SLearningProgressService{

    @Resource
    private SLearningProgressMapper sLearningProgressMapper;


    @Override
    public Result getSLevelById(Integer id) {
        List<SLearningProgress> list=sLearningProgressMapper.getSLevelById(id);
        return Result.OK(list);
    }
}




